package com.yunji.order.dto.cmd;

import com.yunji.order.domain.OrderDO;
import com.yunji.order.wechat.WechatCallbackDTO;
import com.yunji.order.emuns.OrderStatusEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author : peter-zhu
 * @date : 2025/3/18 10:03
 * @description : TODO
 **/
@EqualsAndHashCode(callSuper = true)
@Data
public class OrderPaidCommandDTO extends OrderCommandDTO {

    private WechatCallbackDTO callbackDTO;

    public OrderPaidCommandDTO() {
    }

    public OrderPaidCommandDTO(OrderDO orderDO, OrderStatusEnum newStatus, WechatCallbackDTO callbackDTO) {
        super(orderDO, newStatus);
        this.callbackDTO = callbackDTO;
    }
}
